/*
 * Copyright 2006-2023 ahtelit.com, All Rights Reserved.
 */

package com.telit.firecommand.model.iot;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * IOT气象站model
 *
 * @author yuezhuang
 * @since 2023-04-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "IotDeviceMeteorologyModel", description = "IOT 气象站 model")
public class IotDeviceMeteorologyModel implements Serializable {

    private static final long serialVersionUID = -1L;


    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "设备SN")
    private String sn;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "设备小类")
    private String type;

    @ApiModelProperty(value = "设备大类")
    private String category;

    @ApiModelProperty(value = "网络状态")
    private boolean networkStatus;

    @ApiModelProperty(value = "设备状态， 枚举值\n"
            + "● NORMAL: 正常\n"
            + "● ALARM: 报警\n"
            + "● DANGER: 隐患\n"
            + "● FAULT: 故障\n"
            + "● ISOLATION: 故障隔离\n"
            + "● DISCONNECT: 失联")
    private String status;

    @ApiModelProperty(value = "报警状态")
    private String alarmState;

    @ApiModelProperty(value = "故障状态")
    private String faultState;

    @ApiModelProperty(value = "图片")
    private String imageUrl;

}
